package com.gxitsky.service.impl;

import com.gxitsky.service.CaptchaService;
import com.wf.captcha.utils.CaptchaUtil;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author gxing
 * @desc 图形验证码
 * @date 2022/1/12
 */
@Service
public class CaptchaServiceImpl implements CaptchaService {
    /**
     * @desc easyCaptcha
     * @author gxing
     * @date 2022/1/12 11:46
     */
    @Override
    public void easyCaptcha(HttpServletRequest request, HttpServletResponse response) throws IOException {
        CaptchaUtil.out(request, response);
    }

    @Override
    public void hutoolCaptcha() {

    }

    @Override
    public void kaptcha() {

    }
}
